import { history } from 'umi';
import qs from 'qs';

export default () => qs.parse(history.location.search.replace(/\?|\?\%3F/g, ''));
